package com.zsy.petshop_01.service;

import com.alipay.api.AlipayApiException;
import com.zsy.petshop_01.common.result.ResponseResult;

import javax.servlet.http.HttpServletRequest;

public interface AlipayService {
    ResponseResult<?> createPaymentOrder(String subject, String totalAmount, HttpServletRequest request) throws AlipayApiException;

    ResponseResult<?> updateOrderStatus(String outTradeNo, String productName,String totalAmount,Integer userId);

    ResponseResult<?> refund(String outTradeNo, String totalAmount,String reason) throws AlipayApiException;
}
